Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development
Link support methods
There are several additional methods that are used to modify and support links, including the following.
removeLink, removeAllLinks, removeUserLinks
These functions delete one or links from an object. The
removeLinkfunction removes a specific link between two objects, as shown:
Your code does not normally run
removeAllLinks, which deletes all standard (supported) links from an object. This includes deleting link definitions in the objects at the other end of the links, which is done automatically when the object is destroyed.The procedure
removeUserLinksremoves user-defined links, which are not on theSupportedLinkslist.assignLinkProperty
This
LOGICALproperty sets a property value in an object at the other end of a specified link, relative to the current object (TARGET-PROCEDURE), as shown:
linkHandles
This
CHARACTERfunction takes a link name and returns a list of handles of objects at the other end of that link, relative to the current object (theTARGET-PROCEDURE), as shown:
linkProperty
This
CHARACTERfunction returns the value of the requested property in the object at the other end of the specified link, relative to theTARGET-PROCEDURE. Parallel to theassignLinkPropertyfunction, this one retrieves the value of a property using the link name rather than the object’s handle.If there is more than one object at the other end of the link (or none), the function returns blank, as shown:
.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |